package org.example.service;

import org.example.dto.TeacherDto;
import org.example.vo.TeacherVo;

import java.util.List;

public interface TeacherService {
    Integer addTeacher(TeacherVo teacher);
    Integer updateTeacher(TeacherVo teacher);
    Integer deleteTeacher(Integer teacherId);
    List<TeacherDto> queryAllTeacher();
    Integer countTeacher();
    TeacherDto queryTeacherByName(String teacherName);
    TeacherDto queryTeacherById(Integer teacherId);
}
